﻿<Window x:Class="CPPEI.Coolzon.Theme.Default.TranscribeWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="录制" Height="300" Width="500">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
            <DataGrid x:Name="ltbTrabscribe" Grid.Row="0" Margin="2" Height="230" AutoGenerateColumns="False" IsReadOnly="True">
                <DataGrid.Columns>
                    <DataGridTextColumn Header="操作说明" Width="100" Binding="{Binding Caption}"/>
                <DataGridTextColumn Header="脚本代码" Width="*" Binding="{Binding ScriptCode}"/> 
                </DataGrid.Columns>
            </DataGrid>
        <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
            <Button x:Name="btnOK" Content="确定" Width="60" Margin="2" Click="btnOK_Click"/>
            <Button x:Name="btnCancel" Content="取消" Width="60" Margin="2" Click="btnCancel_Click"/>
        </StackPanel>
    </Grid>
</Window>
